package com.zhkj.framework.enums;

import lombok.Getter;

/**
 * @Auther: zhangy
 * @Date: 2018/10/16 17:15
 * @Description:
 */
@Getter
public enum  ResultEnum {

    SUCCESS(0,"成功"),
    ERROR(1,"失败"),
    USER_NULL(2,"用户不能为空"),
    ACCOUNTS_IS_NOLL(3,"科目代码为空，请重新输入"),
    ;


    private Integer code;

    private String message;

     ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
